package com.qijian.common.utils;

import cn.hutool.core.util.ReUtil;

import java.util.List;
import java.util.regex.Pattern;

public class ListUtils {


    public static boolean projectNoContains(List<String> list, String str) {
        for (String s : list) {
            if (Pattern.compile("(?<![A-Za-z])" + ReUtil.escape(str) + "(?![0-9])").matcher(s).find())
                return true;
        }
        return false;
    }
}
